<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
<form method="post" action="<?php echo U('Index/people');?>">
<select name='pid'>
  <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><option value="<?php echo ($v['id']); ?>"><?php echo ($v['name']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
</select> 
<input type="hidden" name='dosubmit' value='dosubmit'>
<input type="hidden" name='content' value=''id="content">
<input type="text" name='name' id="name">
<script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
<input type="button" onclick="tijiao()">
</form>
</body>
<script src="/jingtiaoxixuan/Public/js/jquery.min.js"></script>
<script src="/jingtiaoxixuan/Public/ueditor/ueditor.config.js"></script>
<script src="/jingtiaoxixuan/Public/ueditor/ueditor.all.min.js"></script>
<script type="text/plain" id="j_ueditorupload" style="height:5px;display:none;" ></script>
<script type="text/javascript">
	var ue = UE.getEditor('editor');
  function tijiao(){

    var content = UE.getEditor('editor').getContent();
    $("#content").val(content);
    $("form").submit()
  }
</script>
</html>